<?php

namespace Schivei\Controllers;

/**
 * Description of Home
 *
 * @author elton.schivei
 */
class Home extends \System\Core\Controller
{

    public function __construct()
    {
        $this->masterPage = new \Schivei\Views\MasterPages\MasterPage();
    }

    public function index()
    {
        $this->masterPage->AddOrUpdateData('title', 'Elton Schivei Costa');

        $mod = new \Schivei\Models\Usuario();

        $user = $mod->GetById(new \System\Types\Integer(1));

        $user = null;
    }

}
